<% content_for :head do  %>
  <%= stylesheet_link_tag 'products'%>
<% end %>
<%= stylesheet_link_tag 'products'%>
<div id="block-lists" class="block">
  <div class="secondary-navigation">
    <ul>
      <li class="first"><a href="javascript:void(0);"><%= @product.sort.name %></a></li>
    </ul>
    <div class="clear">   </div>
  </div>
  <div class="content">
    <div class="inner">
      <ul class="list">
        <li>
          <div class="left">
            <p style="clear: both;height:22px;margin:0">&nbsp; </p>
            <%= link_to image_tag(@product.first_list_image) , product_path(@product.id.to_s + '-'+ to_seo(@product.name))%>
          </div>
          <div class="right"  >
            <p>&nbsp; </p>
            <p><%= link_to '详情' , product_path(@product.id.to_s + '-'+ @product.name)%></p>
          </div>
          <div class="middle">
            <p>种类：<%= @product.sort.name %></p>
            <p>颜色：<%= @product.color.name %></p>
            <p>价格: <%= @product.price %></p>
            <p>编号：<%= @product.serial %>  证书编号：<%= @product.proved_serial %>  商户：<%= @product.user.name %></p>
          </div>

          <p style="clear: both;"> </p>
        </li>
      </ul>
      <br/><br/>
      <br/>


<% form_tag "/jade/alipay/" , :class => "form" , :style => "text-align:left;"do  %>
  <table class="table" style="">
    <tbody>
      <tr>
        <td>您的姓名： </td><td><%= text_field_tag :name  , ""  ,:class =>'text_field' %></td><td></td>
      </tr>
      <tr class="odd">
        <td>您的手机：</td><td> <%= text_field_tag :mobile ,"",:class =>'text_field' %></td>
      </tr>
      <tr class="odd">
        <td>您的邮件：</td><td><%= text_field_tag :email  ,"",:class =>'text_field' %></td>
      </tr>
      <tr class="odd">
        <td>您的电话：</td><td> <%= text_field_tag :tel ,"",:class =>'text_field' %></td>
      </tr>
      <tr class="odd">
        <td>您的邮编：</td><td><%= text_field_tag :zip ,"",:class =>'text_field' %></td>
      </tr>
      <tr class="odd">
        <td>您的地址：</td><td><%= text_field_tag :address ,"",:class =>'text_field' %></td>
      </tr>
      <tr class="odd">
        <td></td><td>  <p>   请填写正确否则无法到达！</p></td>
      </tr>
      <tr class="odd">
        <td></td><td> <%= submit_tag "提交",:class => 'button'%></td>
      </tr>
    </tbody>
  </table>

<% end %>

    </div>
  </div>
</div>
